package com.jnu.hospitalexamination.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class OrdersUserQueryDTO {
    //手机号码
    private String phone;
    //姓名
    private String realName;
    //性别
    private Integer sex;
    //套餐类型
    private Integer smId;
    //预约日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date orderDate;
    //是否归档
    private Integer state;

}
